package com.jeff;
interface Xmen {
	void go();
	abstract int setUp();
}
interface Sapo extends Xmen{
	
}
public class Test implements Sapo{
	
	Character c;
	
	public void go(){
		
		String[]strs = new String[9];
		String str2[] = {"mono", "loco"};
	
		c = new Character('\u0064');
		
		String searchMe = "Green Eggs and Ham";
		String findMe = "Eggs";
		int searchMeLength = searchMe.length();
		int findMeLength = findMe.length();
		boolean foundIt = false;
		for (int i = 0; i <= (searchMeLength - findMeLength); i++) {
			if (searchMe.regionMatches(i, findMe, 0, findMeLength)) {
				foundIt = true;
				System.out.println(searchMe.substring(i, i + findMeLength));
				break;
			}
		}
		if (!foundIt) {
			System.out.println("No match found.");
		}
		
	}

	@Override
	public int setUp() {
		// TODO Auto-generated method stub
		return 0;
	}
}
